home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ CD AutoStart OptionsEx.xpl
< prev
next >
Wrap
Text File
|
1999-06-14
|
2KB
|
62 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="3"
"COUNT"="1"
"UIPATH"="System\File System\CD Autostart"
"NAME"="Autostart Audio CD command"
"VERSION"="1.42"
"LANGUAGE"="VBScript"
"DATA 1"="Programs (*.EXE)|*.exe"
"TEXT 1"="Command"
"DESCRIPTION 1"="If you have enabled the autostart of an Audio CD-ROM, Windows uses a program to play the CD."
"DESCRIPTION 2"="Maybe you don't like the Windows CD-Player so you can enter your favorite player here."
"DESCRIPTION 3"="The default value for this setting is "cdplayer.exe /play %1" or "C:\PROGRA~1\PLUS!\DeluxeCD\deluxecd.exe /play %1"."
"DESCRIPTION 4"="This setting can also be used to kill RealJukeBox G2 from being your default CD Player."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Thanks to CptSiskoX for the help!"
sFileType="HKCR\.cda\@" 'should be "cdafile"
sp1="HKCR\AudioCD\Shell\Play\Command\@" 'main entry!
sp2="HKCR\cdafile\Shell\Play\Command\@" 'very strange, isn't it????
Sub Plugin_Initialize
s=RegReadValue(sp1)
SetUIElement 1,s
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
If Len(s)>0 then
'write the command
if GetWinVer=2 then 'on NT, write EXPAND_SZ
Call RegWriteValue(sp1,s,4)
Call RegWriteValue(sp2,s,4)
else
Call RegWriteValue(sp1,s,1)
Call RegWriteValue(sp2,s,1)
end if
'assign CDA to cdafile
Call RegWriteValue(sFileType,"cdafile",1)
'should be fine now
else
MsgError "Please enter a command for playing Audio-CDs"
end if
End Sub
Sub Plugin_Terminate
End Sub